class Building {

  private String name;

  public Building(String name) {

​    this.name = name;

  }

  public String getName() {

​    return name;

  }

}

class Course {

  private String name;

  public Course(String name) {

​    this.name = name;

  }

  public String getName() {

​    return name;

  }

 

}

class College {

  private List<Building> buildings;

  private List<Course> courses;

  public College() {

​    buildings = new ArrayList<>();

​    courses = new ArrayList<>();

  }

  public void addBuilding(Building building) {

​    buildings.add(building);

  }

  public void addCourse(Course course) {

​    courses.add(course);

  }

  public List<Building> getBuildings() {

​    return buildings;

  }

  public List<Course> getCourses() {

​    return courses;

  }

}